Banana Algebra: Compositional syntactic language extension
نویسندگان
چکیده
We propose an algebra of languages and transformations as a means for ex-tending languages syntactically. The algebra provides a layer of high-level ab-stractions built on top of languages (captured by context-free grammars) andtransformations (captured by constructive catamorphisms).The algebra is self-contained in that any term of the algebra specifying atransformation can be reduced to a constant catamorphism, before the transfor-mation is run. Thus, the algebra comes “for free” without sacrificing the strongsafety and efficiency properties of constructive catamorphisms.The entire algebra as presented in the paper is implemented as the BananaAlgebra Tool which may be used to syntactically extend languages in an in-cremental and modular fashion via algebraic composition of previously definedlanguages and transformations. We demonstrate and evaluate the tool via sev-eral kinds of extensions.
منابع مشابه
Syntactic Language Extension via an Algebra of Languages and Transformations
We propose an algebra of languages and transformations as a means for extending languages syntactically. The algebra provides a layer of high-level abstractions built on top of languages (captured by context-free grammars) and transformations (captured by constructive catamorphisms). The algebra is self-contained in that any term of the algebra specifying a transformation can be reduced to a ca...
متن کاملOn Using Syntactic Action Refinement to Derive Compositionally a Timed Efficient Implementation
In this paper, we present a durational process algebra incorporating syntactic action refinement. We study its correctness with respect to the semantic refinement in an interleaving model, namely the labelled transition systems. This defined refinement is compositional over the language operators and may provide at a given level of abstraction a timed efficient implementation for a specification.
متن کاملKeynote Speech: Lexical Semantics of Chinese Language
In this talk, we are going to give a systematic view of lexical semantics of Chinese language. From macro perspective point of view, lexical conceptual meanings are classified into hierarchical semantic types and each type plays some particular semantic functions of Host, Attribute, and Value to form a semantic compositional system. Lexical senses and their compositional functions will be exemp...
متن کاملCompositional Syntax From Cultural Transmission
A growing body of work demonstrates that syntactic structure can evolve in populations of genetically identical agents. Traditional explanations for the emergence of syntactic structure employ an argument based on genetic evolution: Syntactic structure is specified by an innate language acquisition device (LAD). Knowledge of language is complex, yet the data available to the language learner ar...
متن کاملSixth International Joint Conference on Natural Language Processing Proceedings of the Seventh SIGHAN Workshop on Chinese Language Processing
In this talk, we are going to give a systematic view of lexical semantics of Chinese language. From macro perspective point of view, lexical conceptual meanings are classified into hierarchical semantic types and each type plays some particular semantic functions of Host, Attribute, and Value to form a semantic compositional system. Lexical senses and their compositional functions will be exemp...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Sci. Comput. Program.
دوره 78 شماره
صفحات -
تاریخ انتشار 2013